package com.xcity.pomelo.response;

import com.xcity.db.entity.Guild;
import com.xcity.pomelo.response.GuildListResponse.GuildInfo;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ViewNetGuildResponse extends Response {

	private GuildInfo guildInfo;
	public ViewNetGuildResponse(int serial, Guild guild, int lvl) {
		super(serial);
		guildInfo = new GuildInfo(guild, lvl);
	}
	public GuildInfo getGuildInfo() {
		return guildInfo;
	}
	public void setGuildInfo(GuildInfo guildInfo) {
		this.guildInfo = guildInfo;
	}
}
